Security Level Indicators
When you set up a session security options data structure, you must specify which Java code should be run through the verifier before execution. The verifier checks to see that the Java code is valid and does not attempt any illegal actions that could affect the host platform.
enum CodeVerifierOptions { eDontCheckCode = 0, eCheckRemoteCode, eCheckAllCode };Constant descriptions
In addition, you must also specify the security level allowed for applets accessing a network.
eDontCheckCode
- Don't verify any code.
eCheckRemoteCode
Verify any code that is read from a network.
- eCheckAllCode
- Verify all code.
enum NetworkSecurityOptions { eNoNetworkAccess = 0, eAppletHostAccess, eUnrestrictedAccess };Constant descriptions
Finally you must specify the security level allowed for applets accessing the local file system.
eNoNetworkAccess
- Applets have no access to networks.
eAppletHostAccess
- An applet may access only its host server.
eUnrestrictedAccess
- Applets have unrestricted access to all networks.
enum FileSystemOptions { eNoFSAccess = 0, eLocalAppletAccess, eAllFSAccess };Constant descriptions
See "Session Security Options Structure" (page 11) for more information about using these values.
- eNoFSAccess
- Applets have no access to the local file system.
- eLocalAppletAccess
- Only applets that are stored locally may access the local file system.
- eAllFSAccess
- All applets have access to the local file system.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help